#include <iostream>
#include <sys/types.h>
#include <signal.h>
#include <string>
using namespace std;

int main(int argc,char* argv[])
{
    if(argc != 3)
    {
        cout<<"manual: ./mykill signal pid"<<endl;
        exit(1);
    }
    int sig = stoi(argv[1]);
    int pid = stoi(argv[2]);
    kill(pid,sig);
    return 0;
}